package www.ym.com.entity.menu;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

@Data
public class Menu implements Serializable {
    public static final Long serialVersionUID = 1l;

    //主键 id自增
    private Long id;

    //一级菜单名称
    private String name;

    //一级级菜单id
    private Long parentId;

    //icon图标
    private String icon;

    //路由路径
    private String path;

    //组件路径
    private String componment;

    //菜单类型：0菜单 1按钮
    private Integer type;


}
